﻿using System;
using System.Data;
using System.Data.SqlClient;
using System.Collections;
namespace FrameWork.Entity
{
    /// <summary>
    /// 实体类sys_ModuleEntity 。(属性说明自动提取数据库字段的描述信息) 
    /// </summary>
    public class sys_ModuleEntity
    {
        public sys_ModuleEntity() { }

        private int _moduleID = int.MinValue;//功能模块ID号			
        private int _m_ApplicationID = int.MinValue;//所属应用程序ID			
        private int _m_ParentID = int.MinValue;//所属父级模块ID与ModuleID关联,0为顶级			
        private string _m_PageCode = "";//模块编码Parent为0,则为S00(xx),否则为S00M00(xx)			
        private string _m_CName = "";//模块/栏目名称当ParentID为0为模块名称			
        private string _m_Directory = "";//模块/栏目目录名			
        private string _m_OrderLevel = "";//当前所在排序级别支持双层99级菜单			
        private int _m_IsSystem = int.MinValue;//是否为系统模块1:是0:否如为系统则无法修改			
        private int _m_Close = int.MinValue;//是否关闭1:是0:否			
        private int _m_Level = int.MinValue;//所在层			
        private int _m_ChildCount = int.MinValue;//子节点			
        private int _m_ShowOrder = int.MinValue;//			
        /// <summary>
        /// 功能模块ID号
        /// </summary>
        public int ModuleID
        {
            set { _moduleID = value; }
            get { return _moduleID; }
        }
        /// <summary>
        /// 所属应用程序ID
        /// </summary>
        public int M_ApplicationID
        {
            set { _m_ApplicationID = value; }
            get { return _m_ApplicationID; }
        }
        /// <summary>
        /// 所属父级模块ID与ModuleID关联,0为顶级
        /// </summary>
        public int M_ParentID
        {
            set { _m_ParentID = value; }
            get { return _m_ParentID; }
        }
        /// <summary>
        /// 模块编码Parent为0,则为S00(xx),否则为S00M00(xx)
        /// </summary>
        public string M_PageCode
        {
            set { _m_PageCode = value; }
            get { return _m_PageCode; }
        }
        /// <summary>
        /// 模块/栏目名称当ParentID为0为模块名称
        /// </summary>
        public string M_CName
        {
            set { _m_CName = value; }
            get { return _m_CName; }
        }
        /// <summary>
        /// 模块/栏目目录名
        /// </summary>
        public string M_Directory
        {
            set { _m_Directory = value; }
            get { return _m_Directory; }
        }
        /// <summary>
        /// 当前所在排序级别支持双层99级菜单
        /// </summary>
        public string M_OrderLevel
        {
            set { _m_OrderLevel = value; }
            get { return _m_OrderLevel; }
        }
        /// <summary>
        /// 是否为系统模块1:是0:否如为系统则无法修改
        /// </summary>
        public int M_IsSystem
        {
            set { _m_IsSystem = value; }
            get { return _m_IsSystem; }
        }
        /// <summary>
        /// 是否关闭1:是0:否
        /// </summary>
        public int M_Close
        {
            set { _m_Close = value; }
            get { return _m_Close; }
        }
        /// <summary>
        /// 所在层
        /// </summary>
        public int M_Level
        {
            set { _m_Level = value; }
            get { return _m_Level; }
        }
        /// <summary>
        /// 子节点
        /// </summary>
        public int M_ChildCount
        {
            set { _m_ChildCount = value; }
            get { return _m_ChildCount; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int M_ShowOrder
        {
            set { _m_ShowOrder = value; }
            get { return _m_ShowOrder; }
        }

    }
}

